<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:form name="cadastraraluno" id="cadastraraluno">

	<h:panelGrid columns="2">
		<f:facet name="header">
			Cadastro de Aluno
		</f:facet>

		<h:outputText value="Nome: " id="nomee" />
		<h:inputText value="#{alunoMB.aluno.nome}" required="true"
			requiredMessage="Este campo deve ser preenchido" id="nome" />

		<h:outputText value="Matricula: " id="matriculaa" />
		<h:inputText value="#{alunoMB.aluno.matricula}" id="matricula" />

		<f:facet name="footer">

		</f:facet>
	</h:panelGrid>

	<h:commandButton action="#{alunoMB.persistirAluno()}" value="Salvar" />
</h:form>

		<f:facet name="footer">

		</f:facet>


</html>